package com.usian.ai.pojo.vo;

import jakarta.validation.constraints.Email;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.time.LocalDate;

/**
 * @TODO:
 * @Author:baimu
 * @Date:2024 12 05 11 29
 **/

@Data
public class CandidateSaveReqVo {


    @NotBlank(message="候选人姓名不能为空")
    String realName;

    @NotBlank(message="候选人手机不能为空")
    String mobile;

    @NotNull(message="候选人面试岗位不能为空")

    Integer jobId;

    @NotBlank(message="候选人身份证号不能为空")
    String identityNum;

    @NotNull(message="候选人性别不能为空")
    Integer sex;

    @NotBlank(message="候选人邮箱不能为空")
    @Email(message="候选人邮箱格式不正确")
    String email;


    @NotNull(message="候选人生日不能为空")
    LocalDate birthday;







}
